package com.zhuyuan.dto;

import com.zhuyuan.Entity.Person;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class PersonDto {
    @ApiModelProperty("Person信息")
    private List<Person> people;
    @ApiModelProperty("总人数")
    private Long totalPages;

    public PersonDto() {
    }

    public PersonDto(List<Person> people, Long totalPages) {
        this.people = people;
        this.totalPages = totalPages;
    }
}
